package cn.vihub.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author: 秋晚
 * @Date:  2025/7/29 20:15
 * @Description: 
 **/

@Data

public class ShopGoodsVo implements Serializable {
    /**
     * 商品iD
     */
    private Integer id;

    /**
     * 商品名称
     */
    private String name;

    /**
     * 品牌id
     */
    private Integer brandInfoId;
    private String brandInfoName;

    /**
     * 分类id
     */
    private Integer goodsCategoryId;
    private String goodsCategoryName;

    /**
     * 内容
     */
    private String content;

    /**
     * 图片用多个","隔开
     */
    private String pic;
    private List<ShopPicVo> picList;

    private String specNameStr;

    /**
     * 1上架0下架
     */
    @TableField(value = "`status`")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}